package drone.facade.model.entity.auth ;

import java.io.Serializable ;
import java.util.Date ;
import java.math.BigDecimal ;
import drone.facade.model.entity.BaseEntity ;
import drone.basis.meta.EntityMeta ;
import drone.basis.meta.FieldMeta ;

@EntityMeta ( name = "功能" , description = "功能" , table = "auth_function" , alias = "_auth_function" , assign = false , foreign = false , visible = true , order = 1 , version = "1.0" )
public class AuthFunctionEntity extends BaseEntity implements Serializable
{

	private static final long serialVersionUID = 1L ;

	public enum AuthFunctionField
	{
		funNo ( "_auth_function.fun_no" ) ,
		funPno ( "_auth_function.fun_pno" ) ,
		funName ( "_auth_function.fun_name" ) ,
		funLevel ( "_auth_function.fun_level" ) ,
		funRedirect ( "_auth_function.fun_redirect" ) ,
		funEnable ( "_auth_function.fun_enable" ) ,
		funIcon ( "_auth_function.fun_icon" ) ,
		funVersion ( "_auth_function.fun_version" ) ,
		funDesc ( "_auth_function.fun_desc" ) ,
		funState ( "_auth_function.fun_state" ) ,
		funCreater ( "_auth_function.fun_creater" ) ,
		funDate ( "_auth_function.fun_date" ) ,
		funSort ( "_auth_function.fun_sort" ) ,
		funRemark ( "_auth_function.fun_remark" ),;

		private String name ;

		private AuthFunctionField (
				String name
		)
		{
			this.name = name ;
		}

		public String getName ( )
		{
			return name ;
		}

		public void setName (
				String name
		)
		{
			this.name = name ;
		}
	}

	@FieldMeta ( primary = true , name = "功能编号" , description = "功能编号" , column = "fun_no" , require = true , range = true , vague = false , visible = true , length = 32 , order = 1 )
	private String funNo ;

	public String getFunNo ( )
	{
		return funNo ;
	}

	public void setFunNo (
			String funNo
	)
	{
		this.funNo = funNo ;
	}

	@FieldMeta ( primary = false , name = "父级功能编号" , description = "父级功能编号" , column = "fun_pno" , require = true , range = false , vague = false , visible = true , length = 32 , order = 2 )
	private String funPno ;

	public String getFunPno ( )
	{
		return funPno ;
	}

	public void setFunPno (
			String funPno
	)
	{
		this.funPno = funPno ;
	}

	@FieldMeta ( primary = false , name = "功能名称" , description = "功能名称" , column = "fun_name" , require = true , range = false , vague = true , visible = true , length = 50 , order = 3 )
	private String funName ;

	public String getFunName ( )
	{
		return funName ;
	}

	public void setFunName (
			String funName
	)
	{
		this.funName = funName ;
	}

	@FieldMeta ( primary = false , name = "功能级别" , description = "功能级别" , column = "fun_level" , require = true , range = false , vague = false , visible = true , length = 50 , order = 4 )
	private String funLevel ;

	public String getFunLevel ( )
	{
		return funLevel ;
	}

	public void setFunLevel (
			String funLevel
	)
	{
		this.funLevel = funLevel ;
	}

	@FieldMeta ( primary = false , name = "功能链接" , description = "功能链接" , column = "fun_redirect" , require = true , range = false , vague = false , visible = true , length = 200 , order = 5 )
	private String funRedirect ;

	public String getFunRedirect ( )
	{
		return funRedirect ;
	}

	public void setFunRedirect (
			String funRedirect
	)
	{
		this.funRedirect = funRedirect ;
	}

	@FieldMeta ( primary = false , name = "是否启用" , description = "是否启用" , column = "fun_enable" , require = true , range = false , vague = false , visible = true , length = 1 , order = 6 )
	private String funEnable ;

	public String getFunEnable ( )
	{
		return funEnable ;
	}

	public void setFunEnable (
			String funEnable
	)
	{
		this.funEnable = funEnable ;
	}

	@FieldMeta ( primary = false , name = "图标" , description = "图标" , column = "fun_icon" , require = true , range = false , vague = false , visible = true , length = 200 , order = 7 )
	private String funIcon ;

	public String getFunIcon ( )
	{
		return funIcon ;
	}

	public void setFunIcon (
			String funIcon
	)
	{
		this.funIcon = funIcon ;
	}

	@FieldMeta ( primary = false , name = "版本号" , description = "版本号" , column = "fun_version" , require = true , range = false , vague = false , visible = true , length = 50 , order = 8 )
	private String funVersion ;

	public String getFunVersion ( )
	{
		return funVersion ;
	}

	public void setFunVersion (
			String funVersion
	)
	{
		this.funVersion = funVersion ;
	}

	@FieldMeta ( primary = false , name = "描述信息" , description = "描述信息" , column = "fun_desc" , require = true , range = false , vague = false , visible = true , length = 500 , order = 9 )
	private String funDesc ;

	public String getFunDesc ( )
	{
		return funDesc ;
	}

	public void setFunDesc (
			String funDesc
	)
	{
		this.funDesc = funDesc ;
	}

	@FieldMeta ( primary = false , name = "状态" , description = "状态" , column = "fun_state" , require = true , range = false , vague = false , visible = true , length = 1 , order = 10 )
	private String funState ;

	public String getFunState ( )
	{
		return funState ;
	}

	public void setFunState (
			String funState
	)
	{
		this.funState = funState ;
	}

	@FieldMeta ( primary = false , name = "创建人" , description = "创建人" , column = "fun_creater" , require = true , range = false , vague = false , visible = true , length = 50 , order = 11 )
	private String funCreater ;

	public String getFunCreater ( )
	{
		return funCreater ;
	}

	public void setFunCreater (
			String funCreater
	)
	{
		this.funCreater = funCreater ;
	}

	@FieldMeta ( primary = false , name = "创建日期" , description = "创建日期" , column = "fun_date" , require = true , range = true , vague = false , visible = true , length = 0 , order = 12 )
	private Date funDate ;

	public Date getFunDate ( )
	{
		return funDate ;
	}

	public void setFunDate (
			Date funDate
	)
	{
		this.funDate = funDate ;
	}

	@FieldMeta ( primary = false , name = "排序" , description = "排序" , column = "fun_sort" , require = true , range = false , vague = false , visible = true , length = 0 , order = 13 )
	private BigDecimal funSort ;

	public BigDecimal getFunSort ( )
	{
		return funSort ;
	}

	public void setFunSort (
			BigDecimal funSort
	)
	{
		this.funSort = funSort ;
	}

	@FieldMeta ( primary = false , name = "备注" , description = "备注" , column = "fun_remark" , require = true , range = false , vague = false , visible = true , length = 500 , order = 14 )
	private String funRemark ;

	public String getFunRemark ( )
	{
		return funRemark ;
	}

	public void setFunRemark (
			String funRemark
	)
	{
		this.funRemark = funRemark ;
	}

}
